home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wild Blue Yonder 1: 50 Years of Gs & Jets
/
Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso
/
control
/
panel.dir
/
00721_Script_721
< prev
next >
Wrap
Text File
|
1994-08-29
|
411b
|
19 lines
on checkButtons
global buttonZone, buttonWidth, buttonGap
set H = the mouseH
set leftEdge = the left of sprite buttonZone
repeat with i = 1 to 8
if H > (leftEdge + (i-1) * (buttonWidth + buttonGap)) and ¼
H < (leftEdge + (i * buttonWidth) + ((i-1) * buttonGap)) then
executeButton( i )
exit
end if
end repeat
end checkButtons